home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 October
/
PCWorld_1999-10_cd1.bin
/
Software
/
Servis
/
X-setup
/
_SETUP.1
/
XQ MSO2K Security 1.xpl
< prev
next >
Wrap
Text File
|
1999-07-17
|
2KB
|
62 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="4"
"UIPATH"="System\Security"
"NAME"="Office 2000 Security"
"VERSION"="1.0"
"LANGUAGE"="VBScript"
"TEXT 1"="Trust installed files in Word"
"TEXT 2"="Trust installed files in Excel"
"TEXT 3"="Trust installed files in PowerPoint"
"TEXT 4"="Trust installed files in Access"
"DESCRIPTION 1"="???"
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
sV1="HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\9.0\Word\Security\"
sV2="HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\9.0\Excel\Security\"
sV3="HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\9.0\PowerPoint\Security\"
sV4="HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\9.0\Access\Security\"
sValName="DontTrustInstalledFiles" 'DW
Sub Plugin_Initialize
Call Red(1,sV1)
Call Red(2,sV2)
Call Red(3,sV3)
Call Red(4,sV4)
End Sub
Sub Red(ITM,VAL)
i=RegReadValue(VAL & sValName)
if i<>1 then SetUIElement ITM,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
Call Wrt(1,sV1)
Call Wrt(2,sV2)
Call Wrt(3,sV3)
Call Wrt(4,sV4)
End Sub
Sub Wrt(ITM,VAL)
b=GetUIElement(ITM)
if b=true then
s=RegReadValue(VAL & sValName)
if IsEmpty(s)=false then Call RegDeleteValue(VAL & sValName)
else
Call RegWriteValue(VAL & sValName,1,2)
end if
end sub
Sub Plugin_Terminate
End Sub